API Reference > OdGe Classes > OdGeVector3d Class > OdGeVector3d Operators > [] Operator > OdGeVector3d::[] Operator (unsigned int)
OdGeVector3d::[] Operator (unsigned int)
Syntax
C++
double& operator [](unsigned int i);
Parameters 
Description 
unsigned int i 
[in] Index of coordinate. 

References the ith coordinate of this vector. 

 

  • 0 references the X-coordinate.
  • 1 references the Y-coordinate.
  • 2 references the Z-coordinate.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.